for queue_size in {1..1..1}
do
    for raw_arb_diff_bar in {200..300..25}
    do
        arb_diff_bar=$(python3 -c "print($raw_arb_diff_bar/100000.0)")
        for raw_arb_leave_bar in {-50..100..50}
        do
            arb_leave_bar=$(python3 -c "print($raw_arb_leave_bar/100000.0)")
            echo "queue_size:$queue_size, arb_diff_bar:$arb_diff_bar, arb_leave_bar:$arb_leave_bar"
            cmd="./pyrunner python/coin/experimental/leon/simple_sim/simple_arb.py --og_config_name='arb_test_wallet:0x7bAB600B920aC10C3C6706BE17DDc1B80dBE12c1' --dry_run=False --arb_diff_bar=$arb_diff_bar --arb_leave_bar=$arb_leave_bar --queue_size=$queue_size --config_filename=python/coin/experimental/junxiao/config/simple_arb_arbitrum_arb_sim.json > simple_arb_arbitrum_sim_test.log 2>&1"
            eval "$cmd"
            grep "current profit:" simple_arb_arbitrum_sim_test.log | tail -1
            line_cnt=$(grep "current profit:" simple_arb_arbitrum_sim_test.log | wc -l)
            expr $line_cnt / 2
        done
    done
done